﻿// --------------------------------------------------------------------------------------------------------------------
// <copyright file="NewsInformationModel.cs" company="DissingNellemann">
//   
// All rights reserved </copyright>
// <summary>
//   The news information model.
// </summary>
// --------------------------------------------------------------------------------------------------------------------
namespace Website.Models.ViewModels
{
    using System;
    using System.Collections.Generic;
    using System.Web;

    /// <summary>
    ///     The news information model.
    /// </summary>
    public class NewsInformationModel
    {
        #region Constructors and Destructors

        /// <summary>
        ///     Initializes a new instance of the <see cref="NewsInformationModel" /> class.
        /// </summary>
        public NewsInformationModel()
        {
            this.Funds = new List<Guid>();
            this.Files = new List<HttpPostedFileBase>();
            this.OwnerProjects = new List<Guid>();
        }

        #endregion

        #region Public Properties

        /// <summary>
        ///     Gets or sets the archive location.
        /// </summary>
        public string ArchiveLocation { get; set; }

        /// <summary>
        ///     Gets or sets the comments.
        /// </summary>
        public string Comments { get; set; }

        /// <summary>
        ///     Gets or sets the creator.
        /// </summary>
        public Guid Creator { get; set; }

        /// <summary>
        ///     Gets or sets the files.
        /// </summary>
        public IEnumerable<HttpPostedFileBase> Files { get; set; }

        /// <summary>
        ///     Gets or sets the funds.
        /// </summary>
        public List<Guid> Funds { get; set; }

        /// <summary>
        ///     Gets or sets the id.
        /// </summary>
        public Guid ID { get; set; }

        /// <summary>
        ///     Gets or sets the name.
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        ///     Gets or sets the owner projects.
        /// </summary>
        public List<Guid> OwnerProjects { get; set; }

        /// <summary>
        ///     Gets or sets the time of activity.
        /// </summary>
        public DateTime TimeOfActivity { get; set; }

        /// <summary>
        ///     Gets or sets the type.
        /// </summary>
        public Guid Type { get; set; }

        /// <summary>
        ///     Gets or sets the information type.
        /// </summary>
        public IList<string> informationType { get; set; }

        #endregion
    }
}